package com.hwx.establish.controller;

import com.github.pagehelper.Page;
import com.hwx.establish.service.TestService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @author: hwx
 * @date: 2022/07/20
 **/
@RestController
@RequestMapping("/test")
public class TestController {
    @Resource
    private TestService testService;

    @RequestMapping("/demo")
    public String demo() {
        return testService.test();

    }
}
